package com.dingxin.ship_together_api.entity.vo.route;

import com.dingxin.ship_together_api.entity.RouteSpu;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Author: ctj
 * Date: 2022-11-26
 * Time: 10:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RouteSkuQueryVo {
    /**
     * skuId
     */
    private Long skuId;

    /**
     * spu
     */
    private RouteSpu routeSpu;

    /**
     * destination
     */
    private String destination;

    /**
     * 鱼种列表
     */
    private String fishList;

    /**
     * 出发时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    /**
     * 返回时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     * 座位id
     */
    private Long seatId;
    /**
     * 座位（拼）
     */
    private String seatNo;

    /**
     * 总价
     */
    private Long amount;

    /**
     * 库存
     */
    private Integer stock;

}
